﻿using Microsoft.Extensions.DependencyInjection;
using MingYuanYun.Context.Abstractions;

namespace MingYuanYun.Context
{
    public static class ServiceCollectionExtensions
    {
        public static IServiceCollection AddServiceContext(this IServiceCollection services)
        {
            services.AddScoped<IServiceContext, ServiceContext>();

            return services;
        }
    }
}
